#ifndef IMPORTTOOL_H
#define IMPORTTOOL_H

#include <QObject>
#include "databases.h"
#include "qexcel.h"

class ImportTool : public QObject
{
    Q_OBJECT
public:
    explicit ImportTool(QObject *parent = 0);
private:
    Databases   *datadb;
    QExcel      *excel;
private:
    void readExcel(const QString &filepath);
    void saveConsumer(const ConsumerStruct &consumers);
};

#endif // IMPORTTOOL_H
